package com.ccn.crm.mapper;

import com.ccn.crm.model.ProjectProduct;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProjectProductMapper {
    int deleteByPrimaryKey(@Param("project") Integer project, @Param("product") Integer product);

    int insert(ProjectProduct record);

    ProjectProduct selectByPrimaryKey(@Param("project") Integer project, @Param("product") Integer product);

    List<ProjectProduct> selectAll();

    int updateByPrimaryKey(ProjectProduct record);
}